package DDB;
public class ReplaceAllDemo {
    public static void main(String[] args) {
      String line="213io1h2r1i24hi235nio234";
      line=line.replaceAll("[a-z]+","#NUMBER#");
        System.out.println(line);














       /* String line = "abc123def456ghi78";

        line = line.replaceAll("[0-9]+","#NUMBER#");
        System.out.println(line);*/
    }
}



















